package com.lightjet.macross.base.awf.domain;

import com.lightjet.macross.common.core.IntKeyBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author : lijia
 * @version : 1.0 2019-03-19 09:04
 * description :业务表单日志实体表
 */

@Entity
@Table(name="BIZ_FORMLOG")
@Getter
@Setter
@ApiModel(description = "流程表单日志实体表")
public class BizFormLog extends IntKeyBaseEntity {

    //流程定义ID
    @ApiModelProperty(value = "流程定义ID")
    private String procinstdefId;

    //流程实例ID
    @ApiModelProperty(value = "流程实例ID")
    private String procinstId;

    //流程标题
    @ApiModelProperty(value = "流程标题")
    private String title;

    //节点名称
    @ApiModelProperty(value = "节点名称")
    private  String nodename;

    //节点定义ID
    @ApiModelProperty(value = "节点定义ID")
    private String activityId;

    //任务ID
    @ApiModelProperty(value = "任务ID")
    private String taskId;

    //流程操作人
    @ApiModelProperty(value = "流程操作人")
    private String executor;

    //业务表单
    @ApiModelProperty(value = "业务表单")
    @Lob
    private String bizformdata;

    //业务表单类
    @ApiModelProperty(value = "业务表单类")
    private String bizformclass;

    //表单处理意见
    @ApiModelProperty(value = "表单处理意见")
    private String comments;

    //处理时间
    @ApiModelProperty(value = "处理时间")
    private Date opdate;

    //对应 mongodb 表单ID
    @ApiModelProperty(value = "对应 mongodb 表单ID")
    private String mfId;

}

